<template>
  <div>  
    <el-container>
      <el-aside width="auto">
        <!-- Aside -->
        <common-aside/>
      </el-aside>
      <el-container>
        <el-header>
          <common-header/>
        </el-header>
        <common-tags/>
        <el-main>
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
  
  </div>
</template>

<script> 
import CommonAside from '../components/CommonAside.vue' //封装成单独的组件后引入注册使用
import CommonHeader from '../components/CommonHeader.vue'
import CommonTags from '@/components/CommonTags.vue'
export default {
  data () {
    return {
      
    }
  },
  components: {
    CommonAside,
    CommonHeader,
    CommonTags
  }
}
</script>

<style lang="less" scoped>
  .el-header {
    padding: 0;
  }
</style>